<form id="sForm">
	<input type="hidden" name="frm" value="{$_act.frm}" />
	<input type="hidden" name="mdl" value="{$_act.mdl}" />
	<input type="hidden" name="do" value="{$_act.do}" />

	<input type="hidden" name="pid" value="{$pid}" />
	<table border="0" align="center" cellpadding="0" cellspacing="1" class="table_search">
		<tbody>
			<tr>
				<th>只看根分类：</th>
				<td><input type="checkbox" name="depth" value="1" {if $get.depth == 1}checked{/if} /></td>
				<td class="w100p"></td>
				<td><input type="submit" name="btnSearch" value="{$l.search}" class="button" /></td>
				<td><input type="submit" name="btnExport" value="导出" class="button" /></td>
			</tr>
		</tbody>
	</table>
</form>
<div class="space10"><!-- 间隔 --></div>
<form action="./m.php?frm=action&mdl=index" name="lForm" id="lForm" method="post" target="eBody">
	<input type="hidden" name="formAction" value="" />
	<input type="hidden" name="goback" value="frlist" />
	<input type="submit" id="btnSubmit" class="hide" />
	<table align="center" class="data_form">
		<caption>
		{$_page.caption}
		</caption>
		<thead>
			<tr>
				<th style="width:22px;"><input type="checkbox" title="{$l.selall}/{$l.selnone}" class="poshytip" /></th>
				<th style="width:32px;">ID</th>
				<th style="width:240px;">标题</th>
				<th style="width:120px;">标识</th>
				<!-- <th style="width:120px;">{$l.taobao}{$l.number}</th> -->
				<th style="width:50px;"><a href="#" alt="yes" onclick="sel_all(this, 'show');return false;">{$l.show}</a></th>
				<th style="width:40px;"><a href="./m.php?frm=goods&mdl=goodscat&do=export" title="点击查看属性" class="poshytip open_frame">属性</a></th>
				<th style="width:40px;"><a href="./m.php?frm=goods&mdl=goodscat&do=export" title="点击查看规格" class="poshytip open_frame">规格</a></th>
				<th style="width:80px;">{$l.rank}</th>
				<th>备注</th>
				<th style="width:140px;">时间</th>
				<th style="width:120px;">操作</th>
			</tr>
		</thead>
		<tbody>
		
		{foreach from=$list item=row}
		<tr>
			<th><input type="checkbox" name="list[]" value="{$row.id}" /><input type="hidden" name="lst[{$row.id}]" value="{$row.id}" /></th>
			<td>{$row.id}</td>
			<td><a href="./m.php?frm=goods&mdl=goodscat&do=list&pid={$row.id}" title="点击查看子分类" class="poshytip">{$row.name}</a></td>
			<td class="break">{$row.mark}</td>
			<!-- <td><input type="text" name="taobaoid[{$row.id}]" value="{$row.taobaoid}" class="input" style="width:120px;" /></td> -->
			<td><input type="checkbox" name="show[{$row.id}]" value="1"{if $row.show == 1} checked="checked"{/if} /></td>
			<td>{if $row.attr == '0'}--{else}<a href="./m.php?frm=goods&mdl=goodscat&do=export&id={$row.id}" title="点击查看属性" class="poshytip open_frame"><img src="{$_s.img_dir}gif/history_list.gif"></a>{/if}</td>
			<td>{if $row.spec == '0'}--{else}<a href="./m.php?frm=goods&mdl=goodscat&do=export&id={$row.id}" title="点击查看规格" class="poshytip open_frame"><img src="{$_s.img_dir}gif/history_list.gif"></a>{/if}</td>
			<td><input type="text" name="rank[{$row.id}]" value="{$row.rank}" class="input" style="width:64px;" /></td>
			<td>{$row.memo}</td>
			<td>{$row.addtime} <br />
				{$row.updatetime}</td>
			<td>{if $_g._mp_goods_goodscat_edit}<a href="./m.php?frm=goods&mdl=goodscat&do=edit&id={$row.id}" target="eBody">{$l.edit}</a>{/if}&nbsp;{if $_g._mp_goods_goodscat_add}<a href="./m.php?frm=goods&mdl=goodscat&do=edit&pid={$row.id}" target="eBody">添加子分类</a>{/if}</td>
		</tr>
		{/foreach}
		</tbody>
		
	</table>

</form>
	<!--  -->
	<table border="0" align="center" cellpadding="0" cellspacing="1" class="data_form">
		<tfoot id="cmd">
			<tr>
				<td><div class="btns"><!--<select class="select"><option></option>-->
							<!--{if $_g._mp_goods_goods_del}-->
							<button name="formAction" value="{$_act.frm}.goodscat_del" class="button">{$l.del}</button>
							<!--{/if}-->
							<!--{if $_g._mp_goods_goodscat_rank}-->
							<button name="formAction" value="{$_act.frm}.goodscat_rank" class="button">{$l.update}{$l.rank}/{$l.show}{$l.state}</button>
							<!--{/if}--><!--</select>--></div>
					<div class="pagelist"> <span class="info">共	{$total}条</span> </div></td>
			</tr>
		</tfoot>
	</table>

<div class="space5"><!-- 间隔 --></div>
<div class="data_memo"></div>

<script type="text/javascript" language="JavaScript" charset="utf-8">
<!--
	{literal}
	jQuery(function($){
		
	});
	{/literal}
-->
</script>